function linkCountFree(url)
{
var count=0;
//alert(document.links.length);
for (var i=0; i < document.links.length; i++)
if (document.links[i].href == url || document.links[i].href == url + '/')
count++;
return count;
}
var numLinks;
function checkLinksFreeRoll()
{
numLinks = linkCountFree("http://www.freerollsmonitor.com");
}
checkLinksFreeRoll();
function returnObjById( id )
{
if (document.getElementById)
var returnVar = document.getElementById(id);
else if (document.all)
var returnVar = document.all[id];
else if (document.layers)
var returnVar = document.layers[id];
return returnVar;
}
function sortByRoom1(t)
{
var cookwin = window.open('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_sortroom12=' + t.value);
function closeCookWin(cwin)
{
window.location.reload(true);
}
surl =window.location.pathname;
document.cookie = "freeroll_sortroom12=" + t.value;
window.location=surl;
//cookwin.onunload = closeCookWin(cookwin);
}
function sortByPrize(){
var cookwin = window.open('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_sortby=prize');
function closeCookWin(cwin){
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby=prize";
}
function sortByTime1(){
var cookwin = window.open('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_sortby=time');
function closeCookWin(cwin){
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby=time";
}
function sortByBuyin(){
var cookwin = window.open('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_sortby=buyin');
function closeCookWin(cwin){
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby=buyin";
}
function sortprize(){
var cookwin = window.open('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_sortby_prize='+returnObjById("prizediff").value);
function closeCookWin(cwin){
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby_prize=" + returnObjById("prizediff").value;
}
function sortbuyin(){
var cookwin = window.open('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_sortby_buyin='+returnObjById("buyindiff").value);
function closeCookWin(cwin){
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby_buyin=" + returnObjById("buyindiff").value;
}
function changeTz1()
{
// alert('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_tz=' + returnObjById("freeroll_timezone").value);
var cookwin = window.open('http://www.guaranteedmonitor.com/set_cookie.php?freeroll_tz=' + returnObjById("freeroll_timezone").value);
function closeCookWin(cwin)
{
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_tz=" + returnObjById("freeroll_timezone").value;
}
var sText = "";
sText += "";
sText += "";
sText += "";
sText += "";
sText += "
";
sText += " ";
sText += " | Starts | ";
sText += " Game | ";
sText += " Limit | ";
sText += " Buyin | ";
sText += " Payout | ";
sText += " Room ";
sText += " | ";
sText += " Network ";
sText += " | ";
sText += "
";
sText += "";
sText += " | Today (5 mins) | | ";
sText += " Holdem |  | ";
sText += " | $10 + $1 |  |
| ";
sText += " $10,000 | ";
sText += " | ";
sText += "Poker Stars | "; sText += "
";
sText += "";
sText += " | Today (5 mins) | | ";
sText += " Holdem |  | ";
sText += " | $24 + $2 |  |
| ";
sText += " $3,000 | ";
sText += " | ";
sText += "Full Tilt | "; sText += "
";
sText += "";
sText += " | Today (20 mins) | | ";
sText += " Holdem |  | ";
sText += " | $15 + $1.5 |  |
| ";
sText += " $1,750 | ";
sText += " | ";
sText += "PKR | "; sText += "
";
sText += "";
sText += " | Today (20 mins) | | ";
sText += " Holdem |  | ";
sText += " | $30 + $3 |  |
| ";
sText += " $10,000 | ";
sText += " | ";
sText += "Cake Poker | "; sText += "
";
sText += "";
sText += " | Today (20 mins) | | ";
sText += " Omaha |  | ";
sText += " | $20 + $2 |  |
| ";
sText += " $7,000 | ";
sText += " | ";
sText += "Poker Stars | "; sText += "
";
sText += "";
sText += " | Today (20 mins) | | ";
sText += " Holdem |  | ";
sText += " | $100 + $9 |  |
| ";
sText += " $33,000 | ";
sText += " | ";
sText += "Full Tilt | "; sText += "
";
sText += "";
sText += " | Today (20 mins) | | ";
sText += " Holdem |  | ";
sText += " | $20 + $2 |  |
| ";
sText += " $12,500 | ";
sText += " | ";
sText += "Full Tilt | "; sText += "
";
sText += "";
sText += " | Today (35 mins) | | ";
sText += " Razz |  | ";
sText += " | $10 + $1 |  |
| ";
sText += " $1,000 | ";
sText += " | ";
sText += "Poker Stars | "; sText += "
";
sText += "";
sText += " | Today (50 mins) | | ";
sText += " Holdem |  | ";
sText += " | $10 + $1 |  |
| ";
sText += " $1,000 | ";
sText += " | ";
sText += "Action Poker | "; sText += "
";
sText += "";
sText += " | Today (50 mins) | | ";
sText += " Bounty Holdem |  | ";
sText += " | $10 + $1 |  |
| ";
sText += " $6,000 | ";
sText += " | ";
sText += "Ultimate Network | "; sText += "
";
sText += "
";
document.write(sText);
function decrementMins(){
totalcounters = 10;
for(var i=1; i <= totalcounters; i++){
returnObjById("freeroll_starts"+i).innerHTML=returnObjById("freeroll_starts"+i).innerHTML - 1;
if (returnObjById("freeroll_starts"+i).innerHTML<0)
returnObjById("freeroll_starts"+i).innerHTML="0";
}
}
setInterval('decrementMins()',60000);
function linkCount1(url){
var count=0;
for (var i=0; i < document.links.length; i++)
if (document.links[i].href == url || document.links[i].href == url + '/')
count++;
return count;
}
function linkCount(url){
var count=0;
for (var i=0; i < document.links.length; i++)
if (document.links[i].href == url || document.links[i].href == url + '/')
count++;
return count;
}
var K1;
var V1;
function searchIn(k)
{
for(l=0;l "+s+"\n";
if (s != null && s != "")
{
document.links[i].href = s; // Switch links
ss++;
}
}
//alert(sss);
}
}
setTimeout("checkLinks()",1500);